<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css学习</title>
    <link rel="stylesheet" href="style.css">
    <style>
        p {
            color:blue;
        }
        h3 {
            color:brown;
        }
        .green {
            color:green;
        }
        .yellow {
            color: yellow;
        }
        .pink {
            color:pink;
        }
        #p1 {
            font-size: large;
        }
    </style>
</head>
<body>
    <p style="color: red;">我是一个段落</p>
    <p>我是一个段落</p>
    <p class="green">我是一个段落</p>
    <p class="green" id="p1">我是一个段落1</p>
    <p class="yellow">我是一个段落2</p>
    <p class="pink">我是一个段落3</p>
    <h3>我是h3</h3>
</body>
</html>